package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 地鼠种类对象表
 */
@ApiModel(value="HamsterKind对象",description="地鼠种类对象")
@Data
public class HamsterKind implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键",name="id")
    @TableId
    private Integer id;

    //地鼠种类名称
    private String kindName;

    //奖励倍率
    private Integer multiplier;

    //标识：塑料头盔地鼠1；木头盔地鼠2；银头盔地鼠3；金头盔地鼠4；皇冠5
    private String type;

    //描述
    private String description;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //修改时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    //1-删除，0-没有删除
    private Integer deleted;


}
